<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title></title>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/category.css" />
	<link href="__ROOT__/tabui/css/ui-lightness/jquery-ui-1.9.2.custom.css" rel="stylesheet">
    <script src="__PUBLIC__/js/jquery-1.8.3.js"></script>
	<script src="__ROOT__/tabui/js/jquery-ui-1.9.2.custom.js"></script>
	<script>
    $(function() {
		$( "#tabs" ).tabs();

		$( "#dialog-link, #icons li" ).hover(
			function() {
				$( this ).addClass( "ui-state-hover" );
			},
			function() {
				$( this ).removeClass( "ui-state-hover" );
			}
		);
	});
    </script>
</head>
<body>
	<div id="tabs">
        <ul>
            <li><a href="#tabs-1">编辑文章</a></li>
        </ul>
        <form action="__APP__/arc/runedit" method="post">
            <input type="hidden" name="aid" value="{$_GET['aid']}" />
    		<div id="tabs-1">
    			<table class="table2">
                    <tr>
                        <th>标题</th>
                        <td>
                            <input type="text" class="w200" name="title" value="{$result.0.title}"/> 
                            <span class="desc1"></span>
                        </td>
                    </tr>
                    <tr>
                        <th>关键字</th>
                        <td>
                            <input type="text" class="w200" name="keywords" value="{$result.0.keywords}"/> <span class="desc2"></span>
                        </td>
                    </tr>
                    <tr>
                        <th>缩略图</th>
                        <td>
                            {upload name="thumbimg" data="$thumbimg"}
                        </td>
                    </tr>
                    <tr>
                        <th>描述</th>
                        <td>
                            <textarea name="description" class="w300 h100">{$result.0.description}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <th>内容</th>
                        <td>
                            {keditor name="content" content="$result.0.content"}
                        </td>
                    </tr>
                </table>
    		</div>
            <div>
                <input type="submit" class="bt1" value="编辑文章"/>
            </div>
        </form>
	</div>
	
</body>
</html>